package com.org.devg.devgfilesync.web.file.service;

import java.util.List;
import java.util.Map;

public interface FileService {

  /**
   * 获取同步状态
   *
   * @param params
   * @return
   */
  Map<String, Object> getSyncConfig(Map<String, Object> params);

  int updateSyncRun(String syncConfigName);

  int updateSyncStop(String syncConfigName);

  int updateSyncStatus(Map<String,Object> fileMap);

  List<Map<String, Object>> selectFileList(Integer thePreSyncNum);

}
